package cn.xinfei.xdecision.common.model.datax.datamanage.v2;

import cn.xinfei.xdecision.common.model.common.BasePage;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_var_data_source_call_log")
public class VarDataSourceCallLog extends BasePage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     * */
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long dataSourceId;


    /**
     * 变量调用场景，预采集，实时采集
     */
    private String scene;

    /**
     * 数据源类型
     */
    private String sourceType;


    private String requestId;

    /**
     * 入参
     */
    private String inputParam;
    /**
     * 出参
     */
    private String outputParam;
    /**
     * 获取到的变量值列表
     */
    private String varValues;
    /**
     * 消耗时长，单位：毫秒
     */
    private Long duration;

    /**
     * 创建时间
     * */
    private Date createTime;

    /**
     * 更新时间
     * */
    private Date updateTime;

}
